package com.example.demo.Bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class People {
    @Override
    public String toString() {
        return "{" +
                "peopleID:'" + peopleID + '\'' +
                ", name:'" + name + '\'' +
                ", old:" + old +
                ", nation:'" + nation + '\'' +
                ", work:'" + work + '\'' +
                ", face:'" + face + '\'' +
                ", learn:'" + learn + '\'' +
                ", sex:'" + sex + '\'' +
                ", money:'" + money + '\'' +
                ", comeTime:'" + comeTime + '\'' +
                ", id:'" + id + '\'' +
                '}';
    }

    public String getPeopleID() {
        return peopleID;
    }

    public void setPeopleID(String peopleID) {
        this.peopleID = peopleID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOld() {
        return old;
    }

    public void setOld(int old) {
        this.old = old;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public String getLearn() {
        return learn;
    }

    public void setLearn(String learn) {
        this.learn = learn;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public Date getComeTime() {
        return comeTime;
    }

    public void setComeTime(Date comeTime) {
        this.comeTime = comeTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private String peopleID;
    private String name;
    private int old;
    private String nation;
    private String work;
    private String face;
    private String learn;
    private String sex;
    private int money;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date comeTime;
    private int id;// bumenID
}
